home *** CD-ROM | disk | FTP | other *** search
- on mouseUp
- set the castNum of sprite 2 to the number of cast "markers"
- set choice to random(6)
- if choice = 1 then
- playMarkers()
- else
- if choice = 2 then
- mixMarkers()
- else
- if choice = 3 then
- hero()
- else
- if choice = 4 then
- rocket()
- else
- if choice = 5 then
- catipillar()
- else
- fishy()
- end if
- end if
- end if
- end if
- end if
- end
-
- on playMarkers
- set first to the number of cast "first light"
- set last to the number of cast "last light"
- preLoadCast(first, last)
- puppetSound("Glissando")
- set the castNum of sprite 2 to the number of cast "all dark"
- set the locH of sprite 30 to the locH of sprite 30 - 100
- updateStage()
- wait(45)
- repeat with i = 1 to 20
- set the castNum of sprite 30 to the castNum of sprite 30 + 1
- updateStage()
- wait(2)
- end repeat
- set the castNum of sprite 2 to the number of cast "markers"
- set the castNum of sprite 30 to the number of cast "first light"
- set the locH of sprite 30 to the locH of sprite 30 + 100
- updateStage()
- unLoadCast(first, last)
- end
-
- on mixMarkers
- puppetSound("Alien Gun.S")
- repeat with i = 1 to 3
- set the castNum of sprite 2 to the number of cast "wrong markers"
- updateStage()
- set the castNum of sprite 2 to the number of cast "markers"
- updateStage()
- end repeat
- set the castNum of sprite 2 to the number of cast "wrong markers"
- updateStage()
- end
-
- on hero
- set the locV of sprite 31 to the locV of sprite 31 - 200
- puppetSound("Fanfare Announcement.S")
- updateStage()
- wait(15)
- repeat with i = 1 to 2
- set the castNum of sprite 31 to the castNum of sprite 31 + 1
- updateStage()
- wait(25)
- end repeat
- set the locV of sprite 31 to the locV of sprite 31 + 200
- set the castNum of sprite 31 to the number of cast "first hero"
- updateStage()
- end
-
- on rocket
- set temp1 to the locV of sprite 32
- set temp2 to the locV of sprite 33
- set the locV of sprite 33 to the locV of sprite 33 - 150
- updateStage()
- wait(30)
- set the locV of sprite 32 to the locV of sprite 32 - 150
- puppetSound("Slow Rocket Takeoff.S")
- updateStage()
- wait(15)
- repeat with i = 1 to 20
- set the locV of sprite 32 to the locV of sprite 32 - (i * 3)
- set the locV of sprite 33 to the locV of sprite 33 - (i * 3)
- if the castNum of sprite 32 = the number of cast "last fume" then
- set the castNum of sprite 32 to the number of cast "first fume"
- else
- set the castNum of sprite 32 to the castNum of sprite 32 + 1
- end if
- updateStage()
- wait(5)
- end repeat
- set the locV of sprite 32 to temp1
- set the locV of sprite 33 to temp2
- end
-
- on catipillar
- puppetSound("African Syncopation.S")
- repeat with i = 1 to 8
- if the castNum of sprite 34 = the number of cast "last cat" then
- set the castNum of sprite 34 to the number of cast "first cat"
- else
- set the castNum of sprite 34 to the castNum of sprite 34 + 1
- end if
- set the locH of sprite 34 to the locH of sprite 34 - 20
- updateStage()
- wait(15)
- end repeat
- set the castNum of sprite 34 to the number of cast "cat looks"
- updateStage()
- wait(30)
- puppetSound("African Syncopation.S")
- repeat with i = 1 to 8
- if the castNum of sprite 34 = the number of cast "first cat" then
- set the castNum of sprite 34 to the number of cast "last cat"
- else
- set the castNum of sprite 34 to the castNum of sprite 34 - 1
- end if
- set the locH of sprite 34 to the locH of sprite 34 + 20
- updateStage()
- wait(15)
- end repeat
- end
-
- on fishy
- puppetSound("Walking")
- repeat with i = 1 to 15
- set the locH of sprite 35 to the locH of sprite 35 - 50
- if the castNum of sprite 35 = the number of cast "last fishy" then
- set the castNum of sprite 35 to the number of cast "first fishy"
- else
- set the castNum of sprite 35 to the castNum of sprite 35 + 1
- end if
- updateStage()
- wait(10)
- end repeat
- set the locH of sprite 35 to the locH of sprite 35 + 750
- set the castNum of sprite 35 to the number of cast "first fishy"
- updateStage()
- end
-